package com.magist.manage.web.entity;

import com.magist.core.entity.BaseEntity;

import java.util.Date;

public class UserLogin extends BaseEntity{
	private static final long serialVersionUID = 1L;
	//静态变量
	public static final String LOGINNAME="loginName";
	public static final String PASSWORD="password";
	public static final String TEL="tel";
	public static final String EMAIL="email";
	public static final String LASTLOGINTIME="lastLoginTime";
	public static final String LASTLOGINIP="lastLoginIp";

	private String loginName;
	private String password;
	private String tel;
	private String email;
	private Date lastLoginTime;
	private String lastLoginIp;

	/**
	 *用户名
	 */
	public void setLoginName(String loginName){
		this.loginName = loginName;
	}
	/**
	 *用户名
	 */
	public String getLoginName(){
		return this.loginName;
	}
	/**
	 *密码
	 */
	public void setPassword(String password){
		this.password = password;
	}
	/**
	 *密码
	 */
	public String getPassword(){
		return this.password;
	}
	/**
	 *手机号
	 */
	public void setTel(String tel){
		this.tel = tel;
	}
	/**
	 *手机号
	 */
	public String getTel(){
		return this.tel;
	}
	/**
	 *邮箱
	 */
	public void setEmail(String email){
		this.email = email;
	}
	/**
	 *邮箱
	 */
	public String getEmail(){
		return this.email;
	}
	/**
	 *最后登陆时间
	 */
	public void setLastLoginTime(Date lastLoginTime){
		this.lastLoginTime = lastLoginTime;
	}
	/**
	 *最后登陆时间
	 */
	public Date getLastLoginTime(){
		return this.lastLoginTime;
	}
	/**
	 *最后登录IP
	 */
	public void setLastLoginIp(String lastLoginIp){
		this.lastLoginIp = lastLoginIp;
	}
	/**
	 *最后登录IP
	 */
	public String getLastLoginIp(){
		return this.lastLoginIp;
	}
}